var initActionsInfoSearchPage = function(){
	jQuery('#ligerTypeSearcher').ligerComboBox({
		data:actionTypesRenderData,
		valueField:'value',
		textField:'text',
		initValue:actionTypesRenderData[0].value,
		valueFieldID:'typeSearcher'
	});
};

var getActionsInfoSearchParams = function(){
	var actionsinfoBean = {};
	var temp;
	temp = jQuery('#nameSearcher').val();
	if(temp){
		actionsinfoBean.name = temp;
	}
	temp = jQuery('#typeSearcher').val();
	if(temp){
		actionsinfoBean.type = temp;
	}
	temp = jQuery('#pathSearcher').val();
	if(temp){
		actionsinfoBean.path = temp;
	}
	temp = jQuery('#pidSearcher').val();
	if(temp){
		actionsinfoBean.pid = temp;
	}
	return actionsinfoBean;
}

jQuery(function(){
	initActionsInfoSearchPage();
	jQuery('#searchActionsInfo').click(function(){
		actionsinfoManager.loadServerData(getActionsInfoSearchParams());
	});
});


